import styles from './demo.module.scss';
import { useEffect } from 'react';

const Demo = () => {

    useEffect(() => { 
        fetch('/api/getBirdBest')
            .then(data => console.log(data))
            .catch(err => console.log(err))
    }, [])

    return <h3 className={styles.wrap}>hello vite !</h3>
}

export default Demo;